# -*- coding:utf-8 -*-
from database.db_business import DbBusiness
from common.my_time import MyTime
from common.my_file import MyFile
from base import Base
import glob
import jieba
import re
import hashlib
import urllib.parse
import time
import os
from common.market_data import MarketData


class MarketBase(Base):
    def __init__(self, file_name):
        self.market = MarketData()

    def __del__(self):
        pass
    
    def recode_data(self, data_date, data_title, data_url, data_site):
        self.market.add_market_data(data_date, self.get_type(), data_title, data_url, data_site)
    